.App {
    text-align: center;
}

.App-logo {
    height: 40vmin;
    pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
    .App-logo {
        animation: App-logo-spin infinite 20s linear;
    }
}

.App-header {
    /* 背景采用双层渐变：优雅深蓝底色 + 细微光晕 */
    background:
            linear-gradient(15deg, #0a2647 20%, #144272 80%),
            radial-gradient(circle at 50% -20%, rgba(91, 192, 235, 0.25) 0%, transparent 50%);
    background-blend-mode: overlay;
    backdrop-filter: blur(8px); /* 毛玻璃质感 */

    height: 64px;
    display: flex;
    padding: 0 28px;
    position: relative;
    border-radius: 12px 12px 0 0;
    box-shadow:
            0 4px 20px rgba(10, 38, 71, 0.3),
            inset 0 1px 1px rgba(255,255,255,0.1);
    /* 优化字体设置 */
    font-family: 'Arial Black', '华文彩云', STCaiyun, cursive; /* 中英备用方案 */
    font-size: 32px; /* 调整到合适大小 */
    letter-spacing: 2px; /* 字间距 */
    text-shadow:
            1px 1px 3px rgba(0, 0, 0, 0.4),
            0 0 6px rgba(91, 192, 235, 0.4); /* 柔和发光效果 */
    flex-direction: row; /* 默认横向排列 */
    align-items: center; /* 垂直居中 */
    /*justify-content: space-between; !* 左右分布 *!*/
    gap: 3rem; /* 元素间距 */
}

/* 标题专用样式 */
.system-title {
    font-size: 1em;
    min-width: 280px; /* 防止标题换行 */
    color: #f8f8ff; /* 增加一个柔和的白色 */
}

.App-link {
    color: #61dafb;
}

@keyframes App-logo-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 数据容器 */
.data-group {
    display: flex;
    gap: 12px; /* 控制间距 */
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 数据卡片 */
.data-card {
    flex: 1;
}

.data-label {
    font-size: 12px;
    margin-bottom: 4px;
}

.data-value {
    color: #1890ff;
    font-size: 12px;
    font-weight: 500;
}

/* 侧边栏样式 */
.sidebar {
    position: fixed;
    right: 0;
    top: 100px; /* 放在右上方位置 */
    width: 70px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(0, 18, 51, 0.7);
    padding: 15px 10px;
    border-radius: 10px 0 0 10px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

/* 侧边栏项目样式 */
.sidebar-item {
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a2a5a 0%, #1a3f7a 100%);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 161, 214, 0.2);
}

.sidebar-item:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #1a3f7a 0%, #2a5faa 100%);
    box-shadow: 0 4px 15px rgba(0, 161, 214, 0.4);
}

.sidebar-icon {
    font-size: 22px;
    margin-bottom: 4px;
}

.sidebar-name {
    font-size: 10px;
    font-weight: 500;
}

/* 为小屏幕设备调整侧边栏样式 */
@media (max-width: 768px) {
    .sidebar {
        width: 60px;
    }

    .sidebar-item {
        width: 45px;
        height: 45px;
    }

    .sidebar-icon {
        font-size: 18px;
    }

    .sidebar-name {
        font-size: 9px;
    }
}